package com.dinggao.crossgo.core.observer;

/**
 * created by mapingan on 2018/8/10.
 */
public class EventMsg {
    private String msg; //事件发出的消息
    private int code;//事件发送码
    private String from; //哪里发出的事件

    public EventMsg(String msg, int code, String from) {
        this.msg = msg;
        this.code = code;
        this.from = from;
    }


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }



    public String getMsg() {
        return msg;
    }

    public String getFrom() {
        return from;
    }

 }
